public class InheritanceExample {
    public static void main(String[] args) {
//        创建父类对象
        Person person = new Person("John", 30);
        person.introduce();
        person.work();

        Student student = new Student("Mike",20,"s12345");
        student.introduce();
        student.work();
    }
}
